Variant.IsNumeric Function

Returns a Boolean. True if the variant is a numeric data type.

Syntax

result = Variant.IsNumeric( )

Return Value

Result

Boolean

Notes

If the variant is a string expression for a number, such as "8" instead of 8, then IsNumeric returns True.